package com.newer.dto;

import java.io.Serializable;

public class CateDto implements Serializable {
    private  Integer id;
    private  String  cate_name;
    private    String   descript;
    private   Double  minprice;  //最低价格
    private  Double   maxprice;//最高价格

    public CateDto() {
    }

    public CateDto(Integer id, String cate_name, String descript, Double  minprice, Double  maxprice) {
        this.id = id;
        this.cate_name = cate_name;
        this.descript = descript;
        this.minprice = minprice;
        this.maxprice = maxprice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCate_name() {
        return cate_name;
    }

    public void setCate_name(String cate_name) {
        this.cate_name = cate_name;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public Double  getMinprice() {
        return minprice;
    }

    public void setMinprice(Double  minprice) {
        this.minprice = minprice;
    }

    public Double  getMaxprice() {
        return maxprice;
    }

    public void setMaxprice(Double  maxprice) {
        this.maxprice = maxprice;
    }

    @Override
    public String toString() {
        return "CateDto{" +
                "id=" + id +
                ", cate_name='" + cate_name + '\'' +
                ", descript='" + descript + '\'' +
                ", minprice=" + minprice +
                ", maxprice=" + maxprice +
                '}';
    }
}
